<html>
<?php
include("../global_function.php");
include("../../type/model.php");
$file_name = $_SERVER["PHP_SELF"];
$parent_type = $_GET["parent_type"];
represent_html_header($file_name);
?>
<body>
<?php
	printf("<form action=\"add_post.php\" method=\"POST\">");
	printf("<input type=\"hidden\" name=\"parent_type\" value=\"%s\">", $parent_type);
	printf("分类名称：<input type=\"text\" name=\"name\">");
	printf("<input type=\"submit\" name=\"submit\" value=\"创建\">");
	printf("</form>");
?>
</body>
</html>
